package com.jz.netthings.application.providerCollection.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-03-14
 */
public class ProviderCollection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 身份证
     */
    @TableField("idNo")
    private String idNo;
    /**
     * 浆员号
     */
    @TableField("providerNo")
    private String providerNo;
    /**
     * 登记号
     */
    @TableField("registerNo")
    private String registerNo;
    /**
     * 指纹
     */
    @TableField("fingerPrint")
    private byte[] fingerPrint;
    /**
     * 耗材批号
     */
    @TableField("hcBatchNo")
    private String hcBatchNo;
    /**
     * 盐水批号
     */
    @TableField("ysBatchNo")
    private String ysBatchNo;
    /**
     * 抗凝剂批号
     */
    @TableField("knjBatchNo")
    private String knjBatchNo;
    /**
     * 设置单层采集量
     */
    @TableField("setSingleLayerNum")
    private Integer setSingleLayerNum;
    /**
     * 设置总采集量
     */
    @TableField("setTotalNum")
    private Integer setTotalNum;
    /**
     * 设置总量差值
     */
    @TableField("setTotalNumCz")
    private Integer setTotalNumCz;
    /**
     * 设置采集速度
     */
    @TableField("setCollectingSpeed")
    private Integer setCollectingSpeed;
    /**
     * 设置还输速度
     */
    @TableField("setHsSpeed")
    private Integer setHsSpeed;
    /**
     * 设置袖带压力
     */
    @TableField("setCuffPressure")
    private Integer setCuffPressure;
    /**
     * 循环次数
     */
    private Integer cycles;
    /**
     * 皮重
     */
    @TableField("initWeight")
    private Integer initWeight;
    /**
     * 总采血量
     */
    @TableField("totalBloodNum")
    private Integer totalBloodNum;
    /**
     * 总采浆量
     */
    @TableField("totalPlasmaNum")
    private Integer totalPlasmaNum;
    /**
     * 盐水用量
     */
    @TableField("useYsNum")
    private Integer useYsNum;
    /**
     * 抗凝剂用量
     */
    @TableField("useKngNum")
    private Float useKngNum;
    /**
     * 开始安装耗材时间
     */
    @TableField("installStartTime")
    private Date installStartTime;
    /**
     * 安装耗材完成时间
     */
    @TableField("installEndTime")
    private Date installEndTime;
    /**
     * 安装耗时
     */
    @TableField("installTaken")
    private Long installTaken;
    @TableField(exist = false)
    private String installTakenName;
    /**
     * 穿刺开始时间
     */
    @TableField("punctureStartTime")
    private Date punctureStartTime;
    /**
     * 穿刺完成时间
     */
    @TableField("punctureEndTime")
    private Date punctureEndTime;
    /**
     * 穿刺耗时
     */
    @TableField("punctureTaken")
    private Long punctureTaken;
    @TableField(exist = false)
    private String punctureTakenName;
    /**
     * 开始采浆时间
     */
    @TableField("startTime")
    private Date startTime;
    /**
     * 采浆完成时间
     */
    @TableField("endTime")
    private Date endTime;
    /**
     * 采浆耗时
     */
    @TableField("collTaken")
    private Long collTaken;
    @TableField(exist = false)
    private String collTakenName;
    /**
     * 开始卸载耗材时间
     */
    @TableField("uninstallStartTime")
    private Date uninstallStartTime;
    /**
     * 卸载耗材完成时间
     */
    @TableField("uninstallEndTime")
    private Date uninstallEndTime;
    /**
     * 卸载耗材耗时
     */
    @TableField("uninstallTaken")
    private Long uninstallTaken;
    @TableField(exist = false)
    private String  uninstallTakenName;
    /**
     * 自检时间
     */
    @TableField("selfCheckTime")
    private Date selfCheckTime;
    /**
     * 自检结果
     */
    @TableField("selfCheckResult")
    private String selfCheckResult;
    /**
     * 是否二针穿刺
     */
    @TableField("secondPuncture")
    private Boolean secondPuncture;
    /**
     * HTC值
     */
    private Float htc;
    /**
     * 备注
     */
    private String remark;
    /**
     * 操作时间
     */
    @TableField("operTime")
    private Date operTime;
    /**
     * 日志时间
     */
    @TableField("logTime")
    private Date logTime;
    /**
     * 同步时间
     */
    @TableField("syscTime")
    private Date syscTime;
    /**
     * 设备记录号
     */
    @TableField("machineLogId")
    private String machineLogId;
    /**
     * 注册号
     */
    @TableField("regId")
    private Integer regId;
    /**
     * 手动处理时间
     */
    @TableField("dealTime")
    private Date dealTime;
    @TableField("isDeal")
    private String isDeal;
    /**
     * 记录创建时间
     */
    @TableField("createTime")
    private Date createTime;
    /**
     * 采浆护士
     */
    private String nurse;
    @TableField(exist = false)
    private String nurseName;
    /**
     * 机器号
     */
    @TableField("machineNo")
    private String machineNo;
    @TableField(exist = false)
    private String machineNoName;
    /**
     * 采浆日期
     */
    @TableField("collectionDate")
    private Date collectionDate;
    /**
     * 卡号
     */
    @TableField(exist = false)
    private String  cardId;
    /**
     * 姓名
     */
    @TableField(exist = false)
    private String  providerName;
    /**
     * 性别
     */
    @TableField(exist = false)
    private String  sex;
    /**
     * 年龄
     */
    @TableField(exist = false)
    private String  age;
    /**
     * 电话
     */
    @TableField(exist = false)
    private String  phone;
    /**
     * 地址
     */
    @TableField(exist = false)
    private String  address;
    /**
     * 建档照片
     */
    @TableField(exist = false)
    private String  photo;
    /**
     * 登记照片
     */
    @TableField(exist = false)
    private  String regPhoto;
    /**
     * 采浆照片
     */
//    @TableField(exist = false)
    @TableField("collPhoto")
    private  String collPhoto;
    /**
     * 身份证照片
     */
    @TableField(exist = false)
    private   String  idCardPhoto;
    /**
     * 登记时间
     */
    @TableField(exist = false)
    private  Date  regTime;
    /**
     * 体检通过  '1'通过  '0'是没通过
     */
    @TableField(exist = false)
    private  String isBodyCheckPass;
    /**
     * 化检通过  '1'通过  '0'是没通过
     */
    @TableField(exist = false)
    private  String isAssayPass;
    /**
     *发证日期
     */
    @TableField(exist = false)
    private Date  issueCertificateDate;
    @TableField("modifyTime")
    private Date    modifyTime ;
    @TableField("synDate")
    private Date    synDate;

    /**
     * 数据库文件路径
     */
    @TableField("filePath")
    private String filePath;

    /**
     * 使用耗材编码
     */
    @TableField("useHcCode")
    private String useHcCode;

    public String getUseHcCode() {
        return useHcCode;
    }

    public void setUseHcCode(String useHcCode) {
        this.useHcCode = useHcCode;
    }

    public String getCollPhoto() {
        return collPhoto;
    }

    public void setCollPhoto(String collPhoto) {
        this.collPhoto = collPhoto;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getSynDate() {
        return synDate;
    }

    public void setSynDate(Date synDate) {
        this.synDate = synDate;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getIssueCertificateDate() {
        return issueCertificateDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setIssueCertificateDate(Date issueCertificateDate) {
        this.issueCertificateDate = issueCertificateDate;
    }

    public String getCollTakenName() {
        return collTakenName;
    }

    public void setCollTakenName(String collTakenName) {
        this.collTakenName = collTakenName;
    }

    public String getRegPhoto() {
        return regPhoto;
    }

    public void setRegPhoto(String regPhoto) {
        this.regPhoto = regPhoto;
    }

    public String getIdCardPhoto() {
        return idCardPhoto;
    }

    public void setIdCardPhoto(String idCardPhoto) {
        this.idCardPhoto = idCardPhoto;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRegTime() {
        return regTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getIsBodyCheckPass() {
        return isBodyCheckPass;
    }

    public void setIsBodyCheckPass(String isBodyCheckPass) {
        this.isBodyCheckPass = isBodyCheckPass;
    }

    public String getIsAssayPass() {
        return isAssayPass;
    }

    public void setIsAssayPass(String isAssayPass) {
        this.isAssayPass = isAssayPass;
    }

    public String getMachineNoName() {
        return machineNoName;
    }

    public void setMachineNoName(String machineNoName) {
        this.machineNoName = machineNoName;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getProviderNo() {
        return providerNo;
    }

    public void setProviderNo(String providerNo) {
        this.providerNo = providerNo;
    }

    public String getRegisterNo() {
        return registerNo;
    }

    public void setRegisterNo(String registerNo) {
        this.registerNo = registerNo;
    }

    public byte[] getFingerPrint() {
        return fingerPrint;
    }

    public void setFingerPrint(byte[] fingerPrint) {
        this.fingerPrint = fingerPrint;
    }

    public String getHcBatchNo() {
        return hcBatchNo;
    }

    public void setHcBatchNo(String hcBatchNo) {
        this.hcBatchNo = hcBatchNo;
    }

    public String getYsBatchNo() {
        return ysBatchNo;
    }

    public void setYsBatchNo(String ysBatchNo) {
        this.ysBatchNo = ysBatchNo;
    }

    public String getKnjBatchNo() {
        return knjBatchNo;
    }

    public void setKnjBatchNo(String knjBatchNo) {
        this.knjBatchNo = knjBatchNo;
    }

    public Integer getSetSingleLayerNum() {
        return setSingleLayerNum;
    }

    public void setSetSingleLayerNum(Integer setSingleLayerNum) {
        this.setSingleLayerNum = setSingleLayerNum;
    }

    public Integer getSetTotalNum() {
        return setTotalNum;
    }

    public void setSetTotalNum(Integer setTotalNum) {
        this.setTotalNum = setTotalNum;
    }

    public Integer getSetCollectingSpeed() {
        return setCollectingSpeed;
    }

    public void setSetCollectingSpeed(Integer setCollectingSpeed) {
        this.setCollectingSpeed = setCollectingSpeed;
    }

    public Integer getSetHsSpeed() {
        return setHsSpeed;
    }

    public void setSetHsSpeed(Integer setHsSpeed) {
        this.setHsSpeed = setHsSpeed;
    }

    public Integer getSetCuffPressure() {
        return setCuffPressure;
    }

    public void setSetCuffPressure(Integer setCuffPressure) {
        this.setCuffPressure = setCuffPressure;
    }

    public Integer getCycles() {
        return cycles;
    }

    public void setCycles(Integer cycles) {
        this.cycles = cycles;
    }

    public Integer getInitWeight() {
        return initWeight;
    }

    public void setInitWeight(Integer initWeight) {
        this.initWeight = initWeight;
    }

    public Integer getTotalBloodNum() {
        return totalBloodNum;
    }

    public void setTotalBloodNum(Integer totalBloodNum) {
        this.totalBloodNum = totalBloodNum;
    }

    public Integer getTotalPlasmaNum() {
        return totalPlasmaNum;
    }

    public void setTotalPlasmaNum(Integer totalPlasmaNum) {
        this.totalPlasmaNum = totalPlasmaNum;
    }

    public Integer getUseYsNum() {
        return useYsNum;
    }

    public void setUseYsNum(Integer useYsNum) {
        this.useYsNum = useYsNum;
    }

    public Float getUseKngNum() {
        return useKngNum;
    }

    public void setUseKngNum(Float useKngNum) {
        this.useKngNum = useKngNum;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getInstallStartTime() {
        return installStartTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setInstallStartTime(Date installStartTime) {
        this.installStartTime = installStartTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getInstallEndTime() {
        return installEndTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setInstallEndTime(Date installEndTime) {
        this.installEndTime = installEndTime;
    }

    public Long getInstallTaken() {
        return installTaken;
    }

    public void setInstallTaken(Long installTaken) {
        this.installTaken = installTaken;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getPunctureStartTime() {
        return punctureStartTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setPunctureStartTime(Date punctureStartTime) {
        this.punctureStartTime = punctureStartTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getPunctureEndTime() {
        return punctureEndTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setPunctureEndTime(Date punctureEndTime) {
        this.punctureEndTime = punctureEndTime;
    }

    public Long getPunctureTaken() {
        return punctureTaken;
    }

    public void setPunctureTaken(Long punctureTaken) {
        this.punctureTaken = punctureTaken;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartTime() {
        return startTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getEndTime() {
        return endTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getCollTaken() {
        return collTaken;
    }

    public void setCollTaken(Long collTaken) {
        this.collTaken = collTaken;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallStartTime() {
        return uninstallStartTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallStartTime(Date uninstallStartTime) {
        this.uninstallStartTime = uninstallStartTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallEndTime() {
        return uninstallEndTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallEndTime(Date uninstallEndTime) {
        this.uninstallEndTime = uninstallEndTime;
    }

    public Long getUninstallTaken() {
        return uninstallTaken;
    }

    public void setUninstallTaken(Long uninstallTaken) {
        this.uninstallTaken = uninstallTaken;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getSelfCheckTime() {
        return selfCheckTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setSelfCheckTime(Date selfCheckTime) {
        this.selfCheckTime = selfCheckTime;
    }

    public String getSelfCheckResult() {
        return selfCheckResult;
    }

    public void setSelfCheckResult(String selfCheckResult) {
        this.selfCheckResult = selfCheckResult;
    }

    public Boolean getSecondPuncture() {
        return secondPuncture;
    }

    public void setSecondPuncture(Boolean secondPuncture) {
        this.secondPuncture = secondPuncture;
    }

    public Float getHtc() {
        return htc;
    }

    public void setHtc(Float htc) {
        this.htc = htc;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getOperTime() {
        return operTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getLogTime() {
        return logTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getSyscTime() {
        return syscTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setSyscTime(Date syscTime) {
        this.syscTime = syscTime;
    }

    public String getMachineLogId() {
        return machineLogId;
    }

    public void setMachineLogId(String machineLogId) {
        this.machineLogId = machineLogId;
    }

    public Integer getRegId() {
        return regId;
    }

    public void setRegId(Integer regId) {
        this.regId = regId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getDealTime() {
        return dealTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public String getIsDeal() {
        return isDeal;
    }

    public void setIsDeal(String isDeal) {
        this.isDeal = isDeal;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNurse() {
        return nurse;
    }

    public void setNurse(String nurse) {
        this.nurse = nurse;
    }

    public String getMachineNo() {
        return machineNo;
    }

    public void setMachineNo(String machineNo) {
        this.machineNo = machineNo;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCollectionDate() {
        return collectionDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCollectionDate(Date collectionDate) {
        this.collectionDate = collectionDate;
    }

    public String getInstallTakenName() {
        return installTakenName;
    }

    public void setInstallTakenName(String installTakenName) {
        this.installTakenName = installTakenName;
    }

    public String getPunctureTakenName() {
        return punctureTakenName;
    }

    public void setPunctureTakenName(String punctureTakenName) {
        this.punctureTakenName = punctureTakenName;
    }

    public String getUninstallTakenName() {
        return uninstallTakenName;
    }

    public void setUninstallTakenName(String uninstallTakenName) {
        this.uninstallTakenName = uninstallTakenName;
    }

    public Integer getSetTotalNumCz() {
        return setTotalNumCz;
    }

    public void setSetTotalNumCz(Integer setTotalNumCz) {
        this.setTotalNumCz = setTotalNumCz;
    }

    @Override
    public String toString() {
        return "ProviderCollection{" +
        "id=" + id +
        ", idNo=" + idNo +
        ", providerNo=" + providerNo +
        ", registerNo=" + registerNo +
        ", fingerPrint=" + fingerPrint +
        ", hcBatchNo=" + hcBatchNo +
        ", ysBatchNo=" + ysBatchNo +
        ", knjBatchNo=" + knjBatchNo +
        ", setSingleLayerNum=" + setSingleLayerNum +
        ", setTotalNum=" + setTotalNum +
        ", setCollectingSpeed=" + setCollectingSpeed +
        ", setHsSpeed=" + setHsSpeed +
        ", setCuffPressure=" + setCuffPressure +
        ", cycles=" + cycles +
        ", initWeight=" + initWeight +
        ", totalBloodNum=" + totalBloodNum +
        ", totalPlasmaNum=" + totalPlasmaNum +
        ", useYsNum=" + useYsNum +
        ", useKngNum=" + useKngNum +
        ", installStartTime=" + installStartTime +
        ", installEndTime=" + installEndTime +
        ", installTaken=" + installTaken +
        ", punctureStartTime=" + punctureStartTime +
        ", punctureEndTime=" + punctureEndTime +
        ", punctureTaken=" + punctureTaken +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", collTaken=" + collTaken +
        ", uninstallStartTime=" + uninstallStartTime +
        ", uninstallEndTime=" + uninstallEndTime +
        ", uninstallTaken=" + uninstallTaken +
        ", selfCheckTime=" + selfCheckTime +
        ", selfCheckResult=" + selfCheckResult +
        ", secondPuncture=" + secondPuncture +
        ", htc=" + htc +
        ", remark=" + remark +
        ", operTime=" + operTime +
        ", logTime=" + logTime +
        ", syscTime=" + syscTime +
        ", machineLogId=" + machineLogId +
        ", regId=" + regId +
        ", dealTime=" + dealTime +
        ", isDeal=" + isDeal +
        ", createTime=" + createTime +
        ", nurse=" + nurse +
        ", machineNo=" + machineNo +
        ", collectionDate=" + collectionDate +
        "}";
    }
}
